import request from '@/utils/request'


// 轮播图分类列表
export function getClass(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.chartClass/getClass', params })
}

// 轮播图分类设置
export function setClass(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chartClass/setClass', params })
}

// 轮播图分类详情
export function getDetils(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chartClass/getDetils', params })
}
// 轮播图分类删除
export function delClass(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chartClass/delClass', params })
}

// 轮播图列表
export function getChart(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.chart/getChart', params })
}


// 轮播图设置
export function setChart(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/setChart', params })
}


// 轮播图详情
export function getDetilsChart(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/getDetils', params })
}

// 轮播图开关
export function chartDis(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/chartDis', params })
}


// 轮播图删除
export function chartDelete(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/chartDelete', params })
}

//拓展列表
export function getVideo(params: any) {
    return request.get({ url: '/plugins.adminapi_cms.admin.controller.chart/getVideo', params })
}

//拓展设置
export function setVideo(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/setVideo', params })
}

//拓展详情
export function videoDetils(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/videoDetils', params })
}

//拓展删除
export function chartDel(params: any) {
    return request.post({ url: '/plugins.adminapi_cms.admin.controller.chart/chartDel', params })
}